package com.fernandomartines.dbcheck.graph.element;

import java.util.ArrayList;

public class ModelGraphAssociations extends ArrayList<ModelGraphAssociation> {

    public ModelGraphAssociation getAssociationById(String id) {
        for (ModelGraphAssociation association: this)
            if (association.getId().equals(id))
                return association;
        return null;
    }

}
